package com.atguigu.lease.web.admin.service;

import com.atguigu.lease.model.entity.LeaseAgreement;
import com.atguigu.lease.web.admin.dto.AgreementInfoSearchDto;
import com.atguigu.lease.web.admin.vo.AgreementDetailsVo;
import com.atguigu.lease.web.admin.vo.AgreementInfoVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 1
* @description 针对表【lease_agreement(租约信息表)】的数据库操作Service
* @createDate 2024-08-28 11:00:26
*/
public interface LeaseAgreementService extends IService<LeaseAgreement> {

    Page<AgreementInfoVo> pageItem(AgreementInfoSearchDto searchDto);

    AgreementDetailsVo getDetailsById(Long id);

    boolean saveOrUpdateAgreement(LeaseAgreement leaseAgreement);

    void checkAgreementStatus();
}
